# $Id: PKGBUILD 86555 2013-03-19 10:04:08Z ttoepper $
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
# Contributor: Francois Boulogne <fboulogne at april dot org>
# Contributor: Andre Klitzing <aklitzing () online () de>
# Contributor : Allan McRae <mcrae_allan@hotmail.com>
# Contributor: Mikko Seppälä <t-r-a-y@mbnet.fi> aka Neverth

_dlid=3786
pkgname=po4a
pkgver=0.44
pkgrel=1
pkgdesc="tools for helping translation of documentation"
arch=('any')
license=('GPL')
url="http://po4a.alioth.debian.org/"
depends=('perl' 'gettext')
makedepends=('docbook-xsl' 'perl-text-wrapi18n' 'perl-locale-gettext' 'perl-term-readkey' 'perl-sgmls')
options=('!emptydirs')
source=(https://alioth.debian.org/frs/download.php/${_dlid}/${pkgname}-${pkgver}.tar.gz)
md5sums=('ff7b6859d729a52a57a880d6cf6a7fcf')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	perl Build.PL installdirs=vendor create_packlist=0
	perl Build
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	perl Build destdir=${pkgdir} install
	# remove perllocal.pod and .packlist
	find ${pkgdir} -name .packlist -o -name perllocal.pod -delete
}

# vim:set ts=2 sw=2 et:
